import { request } from '../request';

export function fetchSearch(params: Api.SMSEntity.QueueQuery) {
  return request<Api.SMSEntity.Message>({
    url: '/api/Message/Search',
    method: 'post',
    data: params
  });
}

export function fetchSearchInQueue(params: Api.SMSEntity.QueueQuery) {
  return request<Api.SMSEntity.Message>({
    url: '/api/Message/SearchInQueue',
    method: 'post',
    data: params
  });
}
